package edu.guigu.networkdemomvvm.single;

import android.widget.ImageView;

import androidx.databinding.BindingAdapter;
import androidx.lifecycle.ViewModel;

import com.bumptech.glide.Glide;
import com.bumptech.glide.load.resource.bitmap.RoundedCorners;
import com.bumptech.glide.request.RequestOptions;


// TODO: 存放管理用户状态数据的ViewModel
public class UserStateViewModel extends ViewModel {

    public SingleUser user = new SingleUser();

    public void updateUser(SingleUser user) {
        this.user.setName(user.getName());
        this.user.setCreated_at(user.getCreated_at());
        this.user.setUpdated_at(user.getUpdated_at());
    }

}
